import sys
from PyQt5.QtWidgets import QApplication, QMainWindow

from untitled import Ui_MainWindow
import function

if __name__ == '__main__':


    app = QApplication(sys.argv)
    MainWindow = QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()

    sys.exit(app.exec_())